package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户反馈表
 * </p>
 *
 * @author
 *
 */
@Getter
@Setter
@ApiModel(value = "Feedback对象", description = "用户反馈表")
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户ID（未登录用户可为空）")
    private Integer userId;

    @ApiModelProperty("反馈内容")
    private String content;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @ApiModelProperty("管理员回复")
    private String adminReply;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("处理状态")
    private Integer status;


}
